xen-utils-V scripts: remove update-alternatives
authorHans van Kranenburg <hans@knorrie.org>
Sat, 5 Sep 2020 20:51:29 +0000 (22:51 +0200)
committerHans van Kranenburg <hans@knorrie.org>
Thu, 17 Sep 2020 18:54:29 +0000 (20:54 +0200)
This has been in here for ages. I guess that we can remove it now.

Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-utils-V.postinst.vsn-in
debian/xen-utils-V.prerm.vsn-in

index 0acebf836bb215c72e16b0eba7cce06ae71c4bef..d11a44c779818e4107f32ab50b3b131df07f199e 100644 (file)
@@ -4,7 +4,6 @@ set -e
 
 case "$1" in
     configure)
-        update-alternatives --remove xen-default /usr/lib/xen-@version@
         if [ -x "/etc/init.d/xen" ]; then
             # Only call the init script when this xen-utils-@version@ package
             # matches the currently running version of Xen. This means, doing
index f1cb4299c30cde1b7bf4a50882d8010e2a49d47b..8f580d92458d58196d0ab3c9b8b5c5527082b996 100644 (file)
@@ -4,7 +4,6 @@ set -e
 
 case "$1" in
     remove|upgrade)
-        update-alternatives --remove xen-default /usr/lib/xen-@version@
         if [ -x "/etc/init.d/xen" ]; then
             # Only call the init script when removing or while upgrading for
             # the currently running version of Xen.